package com.gzs.learn.payment.inf;

import com.gzs.learn.inf.BaseResponseDto;
import com.gzs.learn.payment.inf.dto.UnifyQuery;
import com.gzs.learn.payment.inf.dto.UnifyQueryResponse;
import com.gzs.learn.payment.inf.dto.UnifyRefundQuery;
import com.gzs.learn.payment.inf.dto.UnifyRefundQueryResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author guanzhisong
 * @date 2021/7/12
 */
@RequestMapping("payment")
public interface IPaymentQueryClientSign {
    /**
     * 统一查询请求
     *
     * @param unifyQuery
     * @return
     */
    @PostMapping("unify-payment-query")
    BaseResponseDto<UnifyQueryResponse> unifyQuery(@RequestBody UnifyQuery unifyQuery);

    /**
     * 统一退款查询请求
     *
     * @param unifyRefundQuery
     * @return
     */
    @PostMapping("unify-refund-query")
    BaseResponseDto<UnifyRefundQueryResponse> unifyRefundQuery(@RequestBody UnifyRefundQuery unifyRefundQuery);
}
